package com.hoshiibuy.global.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 修改关系属性表参数
* </p>
*
* @author campchen
* @since 2019-04-27
*/
@Data
@ApiModel(value="新增关系属性表", description="新增关系属性表 新增的关系需唯一 eg:同一个 关系id与属性id为同一关系")
public class SysRelationshipsAttrAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 关系id
    */
    @ApiModelProperty(value = "关系id",required = true)
    private Long rid;

    /**
    * 属性id
    */
    @ApiModelProperty(value = "属性id",required = true)
    private Long attrId;

    /**
    * 是否可用
    */
    @ApiModelProperty(value = "是否可用 0-不可用 1-可用",required = true,example = "1")
    private Integer enabled;

    @ApiModelProperty(value = "创建人",required = true)
    private String createdby;

}
